# 作者分发路由配置
from fastapi import APIRouter

api_zz = APIRouter()  # 创建路由


@api_zz.get("/get")
async def get_test():
    return {"methods": "作者分发路由get⽅法"}


@api_zz.post("/post")
async def post_test():
    return {"methods": "作者分发路由post⽅法"}


@api_zz.put("/put")
async def put_test():
    return {"methods": "作者分发路由put⽅法"}


@api_zz.delete("/delete")
async def delete_test():
    return {"methods": "作者分发路由delete⽅法"}